home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 April: Mac OS SDK / Dev.CD Apr 98 SDK1.toast / Development Kits (Disc 1) / Apple Game Sprockets / RAVE SDK 1.06 GM for MacOS / Example Projects / GameScene / GSDrawInfo.h < prev    next >
Encoding:
Text File  |  1996-03-18  |  1.4 KB  |  61 lines  |  [TEXT/ALFA]

  1. // ===========================================================================
  2. //    
  3. //     GSDrawInfo.h 
  4. //    
  5. //    Copyright (C) 1996 Apple Computer, Inc.  All rights reserved.
  6. //
  7. // ===========================================================================
  8.  
  9.  
  10. #ifndef _GSDrawInfo_h
  11. #define _GSDrawInfo_h
  12.  
  13.  
  14. // ===========================================================================
  15. //    Includes
  16. // ===========================================================================
  17.  
  18. #include "RAVE.h"
  19.  
  20. #include "GSImage.h"
  21.  
  22.  
  23. #ifdef __cplusplus
  24. extern "C" {
  25. #endif
  26.  
  27.  
  28. // ===========================================================================
  29. //    Types
  30. // ===========================================================================
  31.  
  32. typedef struct TGSDrawInfo {    
  33.     TQADrawContext*        mContext;
  34.     TQARect                mContextRect;
  35.     unsigned long        mContextFlags;
  36.     TQAEngine*            mEngine;
  37.     TQADevice            mDevice;
  38.     TQAImagePixelType    mTextureFormat;
  39.     unsigned long        mTextureFilter;
  40.     unsigned long        mTextureOp;
  41.     unsigned long        mTextureFlags;
  42.     Boolean                mTextureDetach;
  43.     Boolean                mTextureMakeMipMap;
  44.     Boolean                mTextureMakeBlackTransparent;
  45.     Boolean                mTextureUseTransparentIndex;
  46.     TQAImagePixelType    mBitmapFormat;
  47.     unsigned long        mBitmapFlags;
  48.     Boolean                mBitmapDetach;
  49.     Boolean                mBitmapMakeBlackTransparent;
  50.     Boolean                mBitmapUseTransparentIndex;
  51. } TGSDrawInfo;
  52.  
  53.  
  54. #ifdef __cplusplus
  55. }
  56. #endif
  57.  
  58.  
  59.  
  60. #endif // _GSDrawInfo_h
  61.